package com.example.shop_2304.room

import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "pinglun")
data class Pinglun(
    @PrimaryKey(autoGenerate = true)
    var id:Int,
    var score:Int,
    var comment:String,
    var nickname:String,
    var image:Int,//正常应该是String，为了显示方便，给了一个本地图片
    var createtime:String,
    var gid:Int//商品id
)